#pragma once
#include <atlstr.h>

class CComFunPathHelper
{
public:
	CComFunPathHelper(void);
	~CComFunPathHelper(void);

public:
	static void ExpandEnvironmentString(LPCTSTR pstrExpandPath, CString& strPath)
	{
		ExpandEnvironmentStrings(pstrExpandPath, strPath.GetBuffer(MAX_PATH), MAX_PATH);
		strPath.ReleaseBuffer();
	}

	static void PathAppend(CString& strPath, LPCTSTR pstrMore)
	{
		::PathAppend(strPath.GetBuffer(MAX_PATH), pstrMore);
		strPath.ReleaseBuffer();
	}
};
